<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
   <h1>判断操作</h1>
  今天是：
  @if ($week==1)
  星期一
  @elseif ($week==2)
  星期二
  @elseif ($week==3)
  星期3
  @elseif ($week==4)
  星期4
  @elseif ($week==5)
  星期5
  @elseif ($week==6)
  星期六
  @elseif ($week==7)
  星期日
  @endif
</body>
</html>